package com.lin.cloud.disk.manage;

import com.lin.cloud.disk.entity.pojo.Permission;
import com.lin.cloud.disk.entity.request.AuthorizationPermissionRequest;

import java.util.List;

/**
 * @program: blog
 * @description:   权限表服务接口类
 * @author: Lin
 * @create: 2020-12-10 22:34
 **/
public interface IPermissionManageService {
    /**
     * 获取权限列表通过部门ID列表
     * @param departmentIdList
     * @return
     */
    List<Permission> getPermissionByDepartmentIdList(List<Long> departmentIdList);

    /**
     * 授权
     * @param request
     */
    void authorizationPermission(AuthorizationPermissionRequest request);

}
